package common;

import java.util.Vector;

public class Announcement {
    public int id;
    public int predicate;
    public Vector<Integer> count;
    public Announcement(){};
    public Announcement(Integer id,Integer pre){
        //初始化
        this.id=id;
        this.predicate=pre;
        Vector<Integer> i=new Vector<>();
        i.add(0);
        this.count=new Vector<>(i);
    }
    public Announcement(Integer id,Integer pre,Vector<Integer> v){
        //初始化
        this.id=id;
        this.predicate=pre;
        this.count=new Vector<>(v);
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", predicate=" + predicate +
                ", count=" + count +
                '}';
    }
}
